home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / default / tor < prev    next >
Encoding:
Text File  |  2012-11-20  |  2.4 KB  |  71 lines

  1. # Defaults for tor initscript
  2. # sourced by /etc/init.d/tor
  3. # installed at /etc/default/tor by the maintainer scripts
  4.  
  5. #
  6. # This is a bash shell fragment
  7. #
  8. RUN_DAEMON="yes"
  9.  
  10. #
  11. # Servers sometimes may need more than the default 1024 file descriptors
  12. # if they are very busy and have many clients connected to them.  The top
  13. # servers as of early 2008 regularly have more than 10000 connected
  14. # clients.
  15. #  (ulimit -n)
  16. #
  17. # (the default varies as it depends on the number of available system-wide file
  18. #  descriptors.  See the init script in /etc/init.d/tor for details.)
  19. #
  20. # MAX_FILEDESCRIPTORS=
  21.  
  22. #
  23. # If tor is seriously hogging your CPU, taking away too much cycles from
  24. # other system resources, then you can renice tor.  See nice(1) for a
  25. # bit more information.  Another way to limit the CPU usage of an Onion
  26. # Router is to set a lower BandwidthRate, as CPU usage is mostly a function
  27. # of the amount of traffic flowing through your node.  Consult the torrc(5)
  28. # manual page for more information on setting BandwidthRate.
  29. #
  30. # NICE="--nicelevel 5"
  31.  
  32. # Additional arguments to pass on tor's command line.
  33. #
  34. # ARGS="$ARGS "
  35.  
  36. #
  37. # Uncomment the ulimit call below if you want tor to produce coredumps on
  38. # segfaults and assert errors.
  39. #
  40. # Keeping coredumps around is some sort of security issue since they
  41. # may leak session keys, sensitive client data and more, should such
  42. # files fall into the wrong hands.  Therefore coredumps are not enabled
  43. # by default.
  44. #
  45. # ulimit -c unlimited
  46.  
  47. #
  48. # Config option for the weekly cron file: Whether or not to remove old
  49. # coredumps in /var/lib/tor.  Coredumps can hold sensitive data, as such
  50. # they probably should not be kept lying around if nobody will ever look
  51. # at them.  This option makes /etc/cron.weekly/tor clean out files older
  52. # then three weeks.
  53. #
  54. CLEANUP_OLD_COREFILES=y
  55.  
  56. #
  57. # By default the tor init script will launch Tor using apparmor iff
  58. # /usr/sbin/aa-status exists and is executable and calling it with --enabled
  59. # returns true, /usr/sbin/aa-exec is executable, there is a
  60. # /etc/apparmor.d/system_tor policy, and USE_AA_EXEC is set to 'yes'.
  61. #
  62. # USE_AA_EXEC="yes"  # default
  63. # USE_AA_EXEC="no"
  64.  
  65. # Let the vidalia package override some of our settings.
  66. # People who have vidalia installed might not want to run Tor as a system
  67. # service. The vidalia .deb can ask them that and then set run-daemon to no.
  68. if [ -e /etc/default/tor.vidalia ] && [ -x /usr/bin/vidalia ]; then
  69.     . /etc/default/tor.vidalia
  70. fi
  71.